package com.corpdata.system.scheduler.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.corpdata.common.result.Result;
import com.corpdata.core.base.AbstractBaseService;
import com.corpdata.core.datasource.DataSourceEnum;
import com.corpdata.core.datasource.aop.TargetDataSource;
import com.corpdata.system.scheduler.dao.JobGroupMapper;
import com.corpdata.system.scheduler.entity.JobGroup;
import com.corpdata.system.scheduler.service.JobGroupService;

/**
 * 
 * 
 * @author zealon
 * @email zealon@126.com
 * @date 2018-06-11 16:19:05
 */
@TargetDataSource(dataSource = DataSourceEnum.QUARTZ)
@Service
@Transactional
public class JobGroupServiceImpl extends AbstractBaseService<JobGroup> implements JobGroupService {
	
	@Autowired
	private JobGroupMapper jobGroupMapper;
	
	@Override
	public Result save(JobGroup record) {
		// TODO Auto-generated method stub
		return super.save(record);
	}
	
	@Override
	public Result update(JobGroup record) {
		// TODO Auto-generated method stub
		return super.update(record);
	}
	
	@Override
	public Result deleteById(String id) {
		// TODO Auto-generated method stub
		return super.deleteById(id);
	}
	
	@Override
	public JobGroup findById(String id) {
		// TODO Auto-generated method stub
		return super.findById(id);
	}
	
	
}
